package com.jy.rhin.infra.cda.service;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.jy.rhin.infra.cda.dao.ZhongXingJSBSFDao;
import com.jy.rhin.infra.cda.zxjsb.JingShenBSFVo;
import com.jy.rhin.infra.cda.zxjsb.JingShenBSFYYVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@DS("health")
public class ZhongXingJSBSFService {

    @Resource
    private ZhongXingJSBSFDao zhongXingJSBSFDao;

    public JingShenBSFVo get(String jingShenBSFJLID, String yeWuJGDM) {
        return zhongXingJSBSFDao.get(jingShenBSFJLID, yeWuJGDM);
    }

    public List<JingShenBSFYYVo> getYongYao(String jingShenBSFJLID, String yeWuJGDM) {
        return zhongXingJSBSFDao.getYongYao(jingShenBSFJLID, yeWuJGDM);
    }

}
